//-----------------------------------------------------------------------
// <copyright file="DeliveredOrderBase.cs" company="Pyramid Consulting">
//     Copyright (c) Pyramid Consulting. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;
using System.Data;
using System.ComponentModel;
using System.Collections;

namespace MIMS.WRS.Entities
{
	[Serializable]
	public class DeliveredOrderBase
	{
		
		#region Variable Declarations
		private int				deliveredOrderID = 0;
		private int				officeID = 0;
		private string				supplierCode = string.Empty;
		private string				orderNo = string.Empty;
		private string				yy = string.Empty;
		private DateTime				orderDate = new DateTime(1900,1,1,0,0,0,0);
		private int				qtyIssued = 0;
		private DateTime				dateIssued = new DateTime(1900,1,1,0,0,0,0);
		private string				productCode = string.Empty;
		private int				bulkOrderID = 0;
		private string				customerName = string.Empty;
		private int				poid = 0;
		#endregion
		
		#region Constructors
		public DeliveredOrderBase() {}
		
		public DeliveredOrderBase (
			int deliveredOrderID,
			int officeID,
			string supplierCode,
			string orderNo,
			string yy,
			DateTime orderDate,
			int qtyIssued,
			DateTime dateIssued,
			string productCode,
			int bulkOrderID,
			string customerName,
			int poid)
		
		{
			this.deliveredOrderID = deliveredOrderID;
			this.officeID = officeID;
			this.supplierCode = supplierCode;
			this.orderNo = orderNo;
			this.yy = yy;
			this.orderDate = orderDate;
			this.qtyIssued = qtyIssued;
			this.dateIssued = dateIssued;
			this.productCode = productCode;
			this.bulkOrderID = bulkOrderID;
			this.customerName = customerName;
			this.poid = poid;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int DeliveredOrderID
		{
			get { return deliveredOrderID; }
			set { deliveredOrderID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int OfficeID
		{
			get { return officeID; }
			set { officeID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string SupplierCode
		{
			get { return supplierCode; }
			set { supplierCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string OrderNo
		{
			get { return orderNo; }
			set { orderNo = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is char</value>
		public string YY
		{
			get { return yy; }
			set { yy = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime OrderDate
		{
			get { return orderDate; }
			set { orderDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int QtyIssued
		{
			get { return qtyIssued; }
			set { qtyIssued = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime DateIssued
		{
			get { return dateIssued; }
			set { dateIssued = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string ProductCode
		{
			get { return productCode; }
			set { productCode = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int BulkOrderID
		{
			get { return bulkOrderID; }
			set { bulkOrderID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string CustomerName
		{
			get { return customerName; }
			set { customerName = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int POID
		{
			get { return poid; }
			set { poid = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum DeliveredOrderColumns
	{
		DeliveredOrderID,
		OfficeID,
		SupplierCode,
		OrderNo,
		YY,
		OrderDate,
		QtyIssued,
		DateIssued,
		ProductCode,
		BulkOrderID,
		CustomerName,
		POID
	}//End enum
}